import { Injectable } from '@nestjs/common'
import { CreateCalculateBetDto } from './dto/create-calculate-bet.dto'
import { UpdateCalculateBetDto } from './dto/update-calculate-bet.dto'
import { PrismaService } from 'src/prisma/prisma.service'

@Injectable()
export class CalculateBetService {
  constructor(private prisma: PrismaService) {}

  create(createCalculateBetDto: CreateCalculateBetDto) {
    return this.prisma.calculateBet.create({ data: createCalculateBetDto })
  }
}
